Repository navigation
docs: fix broken code examples in evaluating-a-custom-model.mdx - #1352
mohansree14 wants to merge 1 commit into
Conversation
- quote the unquoted tasks value in the Python API example (was a SyntaxError: tasks=truthfulqa:mc, -> tasks="truthfulqa:mc",) - close the unterminated task string in the CLI example Fixes huggingface#760
|
Friendly ping. Both breaks are still on The doc build and other workflows are waiting for maintainer approval, if someone can approve them. |
|
Re-checked against @NathanHB docs-only and no reviewer assigned — could you assign someone? Should be a quick one. |
|
Still current on @paulinebm would you be able to take a look? |
Summary
Fixes #760.
The imports originally reported as missing (
ParallelismManager, and the nonexistentEnvConfig) were already fixed onmain. While re-verifying the examples actually run, I found two remaining breaks in the same file:tasks=truthfulqa:mc,is aSyntaxError— the task string wasn't quoted. Fixed totasks="truthfulqa:mc",."wmt20:fr-de \task argument's quote was never closed. Fixed to"wmt20:fr-de" \.Test plan